package com.itheima.mp.Enum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @Author: XJH
 * @Description: TODO
 * @Date: 2025/6/14 22:09
 * @Version: 1.0
 */
public enum UserStatus {
    NORMAL(1, "正常"),
    FROZEN(2, "锁定"),
    ;
    @EnumValue
    private Integer value;
    @JsonValue
    private String desc;
    UserStatus(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
